function cellCenterCoordinate = CalcCellCenter(mesh,type)

if(type == 0)
    cellCenterCoordinate = CalcCellCenterUnstruct(mesh);
elseif(type == 1)
    cellCenterCoordinate = CalcCellCenterStruct(mesh);
end